const model =require("../models/goods")

function addGoods(){
    console.log("goodsController addAllGoods");
}
function deleteGoods(){
    console.log("goodsController deleteGoods");
}
function aupdateGoods(){
    console.log("goodsController aupdateGoods");
}
function getAllGoods(){
    console.log("goodsController getAllGoods");
   return model.getAllGoods()
}
function addGoodsByPage(){
    console.log("goodsController addGoodsByPage");
}
module.exports={
    addGoods,
    deleteGoods,
    aupdateGoods,
    getAllGoods,
    addGoodsByPage
}